package com.api.syh56.shengyunhui.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import lombok.*;
import lombok.experimental.FieldDefaults;

import java.math.BigDecimal;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
@TableName("bank_card")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BankCard {
    @Column(name = "id",isKey = true,isAutoIncrement = true)
    Long id;

    /**
     * 用户id
     */
    @Column(name = "uid",comment = "用户id")
    Long uid;

    /**
     * Logo
     */
    @Column(name = "logo",comment = "Logo")
    String logo;
    /**
     * 提现账户银行名称
     */
    @Column(name = "bank_name",comment = "提现账户银行名称")
    private String bankName;
    /**
     * 提现账户银行账号
     */
    @Column(name = "bank_account",comment = "提现账户银行账号")
    private String bankAccount;

    @Column(name = "province",comment = "省")
    private String province;

    @Column(name = "city",comment = "市")
    private String city;

    @Column(name = "district",comment = "区")
    private String district;

    @Column(name = "bank_branch",comment = "支行名称")
    private String bankBranch;

    /**
     * 姓名
     */
    @Column(name = "account_name",comment = "银行账户姓名")
    private String accountName;
    /**
     * 银行卡手机号
     */
    @Column(name = "account_phone",comment = "银行卡手机号")
    private String accountPhone;

}
